﻿header {
    width: 100%;
    height: 100px;
    background: #a9161f;
}

    header .logo {
        height: 80px;
        display: block;
        float: left;
        margin-left: 10px;
        margin-top: 10px;
    }

    header .desc {
        width: 222px;
        height: 44px;
        float: right;
        margin-right: 10%;
        margin-top: 28px;
    }

        header .logo img,
        header .desc img {
            width: 100%;
        }

    header h1 {
        text-align: center;
        line-height: 100px;
        float: left;
        margin-left: 20px;
    }

.header_list {
    list-style: none;
    display: flex;
    height: 100%;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    flex-direction: row;
}

    .header_list a {
        text-decoration: none;
        color: white;
        font-size: 1rem;
    }

.header_item {
    box-sizing: border-box;
    width: auto;
    padding: 10px 20px;
    transition: all 1s ease;
}

    .header_item:hover {
        background-color: orangered;
    }


.userinfo {
    position: absolute;
    height: 100px;
    right: 40px;
    top: 0;
    color: white;
    line-height: 100px;
    user-select: none;
}

    .userinfo:hover .logout {
        height: 40px;
        line-height: 40px;
    }

    

a.logout {
    position: absolute;
    top: 70px;
    background: red;
    width: 100px;
    text-align: center;
    color: white;
    line-height: 40px;
    height: 0;
    overflow: hidden;
    z-index: 2;
    text-decoration: none;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    -webkit-transition: all .2s;
    transition: all .2s;
}

a.logout :hover {
        background: #a9161f;
        color: #fff;
        font-weight: bold;
    }
